﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BusinessCommon.Utilities;

namespace CustomControlLibrary
{
    public partial class StmLabel : Label
    {
        private string LabelText;

        /// <summary>
        /// 
        /// </summary>
        public StmLabel()
        {
            InitializeComponent();
            this.Font = new Font(this.Font.FontFamily, 10);
        }

        /// <summary>
        /// 
        /// </summary>
        public void setMultiLanguage(string formName, string key)
        {
            LabelText = ResxManagerString.GetPropertyString(formName,key);
            this.Text = LabelText;
        }
    }
}
